#全放路径
import os

# 日志
BASE_PATH = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
print(BASE_PATH)
L0G_PATH = os.path.join(BASE_PATH,"logs")
print(L0G_PATH)


# yaml
BASE_YAML=os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
print(f"yaml文件的路径:{BASE_YAML}")
YAML_PATH=os.path.join(BASE_PATH,r'D:\pycharm\web_automation\web_automation\data\data.yaml')
print(YAML_PATH)


#report
BASE_REPORT=os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
print(f"生成报告文件的路径:{BASE_REPORT}")
REPORT_PATH=os.path.join(BASE_REPORT,'reports','data.html')
print(REPORT_PATH)

#case
BASE_CASE=os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
print(f"测试用例的路径:{BASE_REPORT}")
CASE_PATH=os.path.join(BASE_REPORT,'cases')
print(CASE_PATH)

#error
ERROR_REPORT=os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
print(f"异常图片的路径:{BASE_REPORT}")
ERROR_PATH=os.path.join(BASE_REPORT,'images')
print(ERROR_PATH)